Compare commits

...

188 Commits

Author SHA1 Message Date
80235319b8 Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-13 11:39:25 +02:00
68b31cbcdb chore(deps): Bump tempfile from 3.4.0 to 3.5.0
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/Stebalien/tempfile/releases)
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/NEWS)
- [Commits](https://github.com/Stebalien/tempfile/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-13 09:37:12 +00:00
1fabfdc27c Merge pull request #588 from vbrandl/dependabot/cargo/tokio-1.27.0
chore(deps): Bump tokio from 1.26.0 to 1.27.0
2023-04-13 11:36:35 +02:00
02c6a7ccc8 Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-13 11:23:19 +02:00
5652f46e2f chore(deps): Bump tokio from 1.26.0 to 1.27.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.26.0 to 1.27.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.26.0...tokio-1.27.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-13 09:21:30 +00:00
140074171b Merge pull request #586 from vbrandl/dependabot/cargo/reqwest-0.11.16
chore(deps): Bump reqwest from 0.11.14 to 0.11.16
2023-04-13 11:20:54 +02:00
519925762a Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-13 11:17:17 +02:00
e669499a6f chore(deps): Bump reqwest from 0.11.14 to 0.11.16
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.14 to 0.11.16.
- [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.14...v0.11.16)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-13 09:14:26 +00:00
7ef2f8f87c Merge pull request #583 from vbrandl/dependabot/cargo/dotenvy-0.15.7
chore(deps): Bump dotenvy from 0.15.6 to 0.15.7
2023-04-13 11:13:48 +02:00
30ef5cf41f Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-13 11:07:24 +02:00
5c5b848177 chore(deps): Bump dotenvy from 0.15.6 to 0.15.7
Bumps [dotenvy](https://github.com/allan2/dotenvy) from 0.15.6 to 0.15.7.
- [Release notes](https://github.com/allan2/dotenvy/releases)
- [Changelog](https://github.com/allan2/dotenvy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/allan2/dotenvy/compare/v0.15.6...v0.15.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-13 09:06:00 +00:00
ba72053fa1 Merge pull request #582 from vbrandl/dependabot/cargo/mime-0.3.17
chore(deps): Bump mime from 0.3.16 to 0.3.17
2023-04-13 11:05:11 +02:00
79c94f964f Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-13 10:50:05 +02:00
36c0b08067 chore(deps): Bump mime from 0.3.16 to 0.3.17
Bumps [mime](https://github.com/hyperium/mime) from 0.3.16 to 0.3.17.
- [Release notes](https://github.com/hyperium/mime/releases)
- [Commits](https://github.com/hyperium/mime/compare/v0.3.16...v0.3.17)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-21 05:02:57 +00:00
78383c291b Merge pull request #580 from vbrandl/dependabot/cargo/serde-1.0.158
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): Bump serde from 1.0.156 to 1.0.158
2023-03-20 15:15:11 +01:00
fe271c764e Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-20 13:21:11 +01:00
29f9765254 chore(deps): Bump serde from 1.0.156 to 1.0.158
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.156 to 1.0.158.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.156...v1.0.158)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-20 12:19:56 +00:00
70d21bd0db Merge pull request #578 from vbrandl/dependabot/cargo/tracing-actix-web-0.7.3
chore(deps): Bump tracing-actix-web from 0.7.2 to 0.7.3
2023-03-20 13:18:30 +01:00
fdd2883f3b Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-20 13:10:46 +01:00
aff5ba2e0b chore(deps): Bump tracing-actix-web from 0.7.2 to 0.7.3
Bumps [tracing-actix-web](https://github.com/LukeMathWalker/tracing-actix-web) from 0.7.2 to 0.7.3.
- [Release notes](https://github.com/LukeMathWalker/tracing-actix-web/releases)
- [Commits](https://github.com/LukeMathWalker/tracing-actix-web/compare/v0.7.2...v0.7.3)

---
updated-dependencies:
- dependency-name: tracing-actix-web
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-20 05:01:41 +00:00
5b2d1e9016 Merge pull request #577 from vbrandl/release/v0.33.0
All checks were successful
continuous-integration/drone/push Build is passing
release/v0.33.0
2023-03-16 15:29:23 +01:00
a93400ac14 Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-16 14:34:39 +01:00
b03e316c89 Bump version to 0.33.0
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-16 14:32:10 +01:00
3f2a359a90 Use edition 2021 2023-03-16 14:31:49 +01:00
fba01cd0c8 Merge pull request #576 from vbrandl/dependabot/cargo/serde-1.0.156
chore(deps): Bump serde from 1.0.152 to 1.0.156
2023-03-16 13:51:25 +01:00
e67696406b Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-16 13:43:33 +01:00
ad9579418e chore(deps): Bump serde from 1.0.152 to 1.0.156
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.152 to 1.0.156.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.152...v1.0.156)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-16 12:32:25 +00:00
540f30d472 Merge pull request #575 from vbrandl/dependabot/cargo/futures-0.3.27
chore(deps): Bump futures from 0.3.26 to 0.3.27
2023-03-16 13:31:05 +01:00
4f9cd72115 Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-16 13:25:22 +01:00
3612684709 chore(deps): Bump futures from 0.3.26 to 0.3.27
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.26 to 0.3.27.
- [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.26...0.3.27)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-13 05:01:24 +00:00
0cb9deca71 Merge pull request #571 from vbrandl/release/v0.32.0
All checks were successful
continuous-integration/drone/push Build is passing
release/v0.32.0
2023-03-06 14:02:46 +01:00
52f3895af8 Bump version to 0.32.0
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-06 13:45:31 +01:00
d8e51e8c74 Update changelog 2023-03-06 13:45:02 +01:00
35d2315812 Merge pull request #570 from vbrandl/dependabot/cargo/serde_json-1.0.94
chore(deps): Bump serde_json from 1.0.93 to 1.0.94
2023-03-06 13:44:25 +01:00
7caf69b5f0 Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-06 13:19:35 +01:00
e3f1d3ef10 chore(deps): Bump serde_json from 1.0.93 to 1.0.94
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.93 to 1.0.94.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.93...v1.0.94)

---
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-03-06 12:13:01 +00:00
a0d8618722 Merge pull request #569 from vbrandl/dependabot/cargo/tokio-1.26.0
chore(deps): Bump tokio from 1.25.0 to 1.26.0
2023-03-06 12:56:57 +01:00
35232d226d Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-06 12:50:14 +01:00
48318ee1bc chore(deps): Bump tokio from 1.25.0 to 1.26.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.25.0 to 1.26.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.25.0...tokio-1.26.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-06 11:49:07 +00:00
b7690c062f Merge pull request #568 from vbrandl/dependabot/cargo/awc-3.1.1
chore(deps): Bump awc from 3.1.0 to 3.1.1
2023-03-06 12:47:52 +01:00
239f94f830 Update changelog 2023-03-06 12:41:05 +01:00
7b772d2efd chore(deps): Bump awc from 3.1.0 to 3.1.1
Bumps [awc](https://github.com/actix/actix-web) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/actix/actix-web/releases)
- [Changelog](https://github.com/actix/actix-web/blob/master/CHANGES.md)
- [Commits](https://github.com/actix/actix-web/compare/awc-v3.1.0...awc-v3.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-06 11:38:42 +00:00
54ea0dc7c4 Merge pull request #567 from vbrandl/dependabot/cargo/tempfile-3.4.0
chore(deps): Bump tempfile from 3.3.0 to 3.4.0
2023-03-06 12:37:28 +01:00
4bb1925fa0 Update changelog 2023-03-06 12:28:34 +01:00
15f77906e1 chore(deps): Bump tempfile from 3.3.0 to 3.4.0
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/Stebalien/tempfile/releases)
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/NEWS)
- [Commits](https://github.com/Stebalien/tempfile/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-06 11:27:47 +00:00
b5207b0c67 Merge pull request #566 from vbrandl/dependabot/cargo/actix-web-4.3.1
chore(deps): Bump actix-web from 4.3.0 to 4.3.1
2023-03-06 12:23:46 +01:00
583a746714 Update changelog 2023-03-06 12:21:04 +01:00
9e9220afbb chore(deps): Bump actix-web from 4.3.0 to 4.3.1
Bumps [actix-web](https://github.com/actix/actix-web) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/actix/actix-web/releases)
- [Changelog](https://github.com/actix/actix-web/blob/master/CHANGES.md)
- [Commits](https://github.com/actix/actix-web/compare/web-v4.3.0...web-v4.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 05:03:34 +00:00
2e12c9367e Merge pull request #565 from vbrandl/release/v0.31.0
All checks were successful
continuous-integration/drone/push Build is passing
Release/v0.31.0
2023-02-13 23:55:55 +01:00
d27fc2352d Bump version to 0.31.0
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-13 23:42:28 +01:00
5d7e5d219a Update changelog 2023-02-13 23:42:00 +01:00
3ca483e2ee Merge pull request #564 from vbrandl/dependabot/cargo/serde_json-1.0.93
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): Bump serde_json from 1.0.92 to 1.0.93
2023-02-13 11:33:17 +01:00
f670505a1b Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-13 11:05:53 +01:00
ba4574a66d chore(deps): Bump serde_json from 1.0.92 to 1.0.93
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.92 to 1.0.93.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.92...v1.0.93)

---
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-02-13 10:04:14 +00:00
06dc3a73d3 Merge pull request #563 from vbrandl/dependabot/cargo/vergen-7.5.1
chore(deps): Bump vergen from 7.5.0 to 7.5.1
2023-02-13 11:01:23 +01:00
36711cbf8f Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-13 10:55:41 +01:00
6c3d6c0bfa chore(deps): Bump vergen from 7.5.0 to 7.5.1
Bumps [vergen](https://github.com/rustyhorde/vergen) from 7.5.0 to 7.5.1.
- [Release notes](https://github.com/rustyhorde/vergen/releases)
- [Commits](https://github.com/rustyhorde/vergen/compare/7.5.0...7.5.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-09 04:04:37 +00:00
a23d4e5192 Merge pull request #562 from vbrandl/dependabot/cargo/serde_json-1.0.92
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): Bump serde_json from 1.0.91 to 1.0.92
2023-02-06 11:36:52 +01:00
f40d35270f Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-06 11:26:53 +01:00
8d6e60fb40 chore(deps): Bump serde_json from 1.0.91 to 1.0.92
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.91 to 1.0.92.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.91...v1.0.92)

---
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-02-06 04:08:18 +00:00
144c980e89 Merge pull request #561 from vbrandl/dependabot/cargo/bytes-1.4.0
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): Bump bytes from 1.3.0 to 1.4.0
2023-02-03 00:45:44 +01:00
7e30e49240 Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-03 00:41:53 +01:00
06ce86b4ec chore(deps): Bump bytes from 1.3.0 to 1.4.0
Bumps [bytes](https://github.com/tokio-rs/bytes) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/tokio-rs/bytes/releases)
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.3.0...v1.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 04:05:16 +00:00
05b9804c86 Merge pull request #560 from vbrandl/dependabot/cargo/futures-0.3.26
chore(deps): Bump futures from 0.3.25 to 0.3.26
2023-01-31 10:41:00 +01:00
881e09194c Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-31 10:37:23 +01:00
52764a906a chore(deps): Bump futures from 0.3.25 to 0.3.26
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.25 to 0.3.26.
- [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.25...0.3.26)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-31 04:04:05 +00:00
f66920bda5 Merge pull request #558 from vbrandl/dependabot/cargo/tokio-1.25.0
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): Bump tokio from 1.24.2 to 1.25.0
2023-01-30 11:34:57 +01:00
6186f27ea2 Update changelog 2023-01-30 11:30:00 +01:00
8250c3de35 chore(deps): Bump tokio from 1.24.2 to 1.25.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.24.2 to 1.25.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/commits/tokio-1.25.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 10:28:42 +00:00
98e9c19ace Merge pull request #555 from vbrandl/dependabot/cargo/awc-3.1.0
chore(deps): Bump awc from 3.0.1 to 3.1.0
2023-01-30 11:27:13 +01:00
7451a2e571 Update changelog 2023-01-30 11:20:49 +01:00
51cb97c103 chore(deps): Bump awc from 3.0.1 to 3.1.0
Bumps [awc](https://github.com/actix/actix-web) from 3.0.1 to 3.1.0.
- [Release notes](https://github.com/actix/actix-web/releases)
- [Changelog](https://github.com/actix/actix-web/blob/master/CHANGES.md)
- [Commits](https://github.com/actix/actix-web/compare/awc-v3.0.1...awc-v3.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 10:19:42 +00:00
63967c79b9 Merge pull request #554 from vbrandl/dependabot/cargo/actix-web-4.3.0
chore(deps): Bump actix-web from 4.2.1 to 4.3.0
2023-01-30 11:18:44 +01:00
a555e8ed48 Update changelog 2023-01-30 11:15:17 +01:00
ab32765efa chore(deps): Bump actix-web from 4.2.1 to 4.3.0
Bumps [actix-web](https://github.com/actix/actix-web) from 4.2.1 to 4.3.0.
- [Release notes](https://github.com/actix/actix-web/releases)
- [Changelog](https://github.com/actix/actix-web/blob/master/CHANGES.md)
- [Commits](https://github.com/actix/actix-web/compare/web-v4.2.1...web-v4.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 10:06:11 +00:00
938aa648e8 Merge pull request #553 from vbrandl/dependabot/cargo/actix-rt-2.8.0
chore(deps): Bump actix-rt from 2.7.0 to 2.8.0
2023-01-30 11:04:11 +01:00
0b37d01594 Update changelog 2023-01-30 10:30:22 +01:00
aa8d3a0f26 chore(deps): Bump actix-rt from 2.7.0 to 2.8.0
Bumps [actix-rt](https://github.com/actix/actix-net) from 2.7.0 to 2.8.0.
- [Release notes](https://github.com/actix/actix-net/releases)
- [Commits](https://github.com/actix/actix-net/compare/rt-v2.7.0...rt-v2.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 09:29:36 +00:00
aea1768f52 Merge pull request #552 from vbrandl/dependabot/cargo/git2-0.16.1
chore(deps): Bump git2 from 0.16.0 to 0.16.1
2023-01-30 10:28:35 +01:00
f5f328acf1 Update changelog 2023-01-30 10:23:52 +01:00
689ec4fe95 chore(deps): Bump git2 from 0.16.0 to 0.16.1
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.16.0 to 0.16.1.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/git2-curl-0.16.0...0.16.1)

---
updated-dependencies:
- dependency-name: git2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 09:22:05 +00:00
73db3915b3 Merge pull request #551 from vbrandl/dependabot/cargo/libgit2-sys-0.14.21.5.1
chore(deps): Bump libgit2-sys from 0.14.1+1.5.0 to 0.14.2+1.5.1
2023-01-30 10:20:06 +01:00
0e4ee009c9 Update changelog 2023-01-30 10:13:20 +01:00
35d5c8531e chore(deps): Bump libgit2-sys from 0.14.1+1.5.0 to 0.14.2+1.5.1
Bumps [libgit2-sys](https://github.com/rust-lang/git2-rs) from 0.14.1+1.5.0 to 0.14.2+1.5.1.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.14.1...libgit2-sys-0.14.2)

---
updated-dependencies:
- dependency-name: libgit2-sys
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 09:11:49 +00:00
e3bcf4f4ca Merge pull request #550 from vbrandl/dependabot/cargo/bumpalo-3.12.0
chore(deps): Bump bumpalo from 3.10.0 to 3.12.0
2023-01-30 10:08:16 +01:00
a6f33097d3 Update changelog 2023-01-30 10:05:40 +01:00
4b9a0f95e3 chore(deps): Bump bumpalo from 3.10.0 to 3.12.0
Bumps [bumpalo](https://github.com/fitzgen/bumpalo) from 3.10.0 to 3.12.0.
- [Release notes](https://github.com/fitzgen/bumpalo/releases)
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fitzgen/bumpalo/compare/3.10.0...3.12.0)

---
updated-dependencies:
- dependency-name: bumpalo
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 09:00:17 +00:00
1f340728a1 Merge pull request #548 from vbrandl/dependabot/cargo/badgers-1.2.0
chore(deps): Bump badgers from 1.1.0 to 1.2.0
2023-01-30 09:59:14 +01:00
16079253b8 Update changelog 2023-01-30 09:55:42 +01:00
cb97f0feee chore(deps): Bump badgers from 1.1.0 to 1.2.0
Bumps [badgers](https://github.com/vbrandl/badgers) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/vbrandl/badgers/releases)
- [Changelog](https://github.com/vbrandl/badgers/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vbrandl/badgers/compare/v1.1.0...v1.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 08:41:15 +00:00
366b3496f2 Merge pull request #559 from vbrandl/dependabot/cargo/ructe-0.16.1
chore(deps): Bump ructe from 0.15.0 to 0.16.1
2023-01-30 09:40:15 +01:00
a73f07e491 Update changelog 2023-01-30 09:35:27 +01:00
4ddaa84e5f Use new aliases for template functions
`page.rs.html` used to result in a function `templates::page`.
Since ructe 0.7.2, `templates::page_html` was used and now the old alias
has been removed.
2023-01-30 09:22:45 +01:00
74a9f74455 chore(deps): Bump ructe from 0.15.0 to 0.16.1
Bumps [ructe](https://github.com/kaj/ructe) from 0.15.0 to 0.16.1.
- [Release notes](https://github.com/kaj/ructe/releases)
- [Changelog](https://github.com/kaj/ructe/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kaj/ructe/compare/v0.15.0...v0.16.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 04:06:05 +00:00
fca16947f6 Merge pull request #557 from vbrandl/fix/clippy-lints
All checks were successful
continuous-integration/drone/push Build is passing
Fix clippy::uninlined_format_args lint
2023-01-28 17:09:44 +01:00
83a4cb57d8 Fix clippy::uninlined_format_args lint
All checks were successful
continuous-integration/drone/push Build is passing
Fixes local lint violations. For the final fix, I have to wait for https://github.com/kaj/ructe/pull/123
2023-01-28 17:04:20 +01:00
9aa9b5359a Merge pull request #549 from vbrandl/dependabot/cargo/reqwest-0.11.14
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): Bump reqwest from 0.11.13 to 0.11.14
2023-01-20 12:29:12 +01:00
00ee175e8b Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-20 12:16:57 +01:00
c0bafa6079 chore(deps): Bump reqwest from 0.11.13 to 0.11.14
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.13 to 0.11.14.
- [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.13...v0.11.14)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-20 04:05:02 +00:00
18fb75e13e Merge pull request #547 from vbrandl/dependabot/cargo/tokio-1.24.2
chore(deps): Bump tokio from 1.24.1 to 1.24.2
2023-01-18 12:27:39 +01:00
9a578565bd Update changelog 2023-01-18 12:19:02 +01:00
ffb7acc738 chore(deps): Bump tokio from 1.24.1 to 1.24.2
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.24.1 to 1.24.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-18 04:03:28 +00:00
8b058d9c53 Merge pull request #546 from vbrandl/feature/badge-label
All checks were successful
continuous-integration/drone/push Build is passing
Allow customization of the badge label
2023-01-16 10:05:36 +01:00
30906da803 Bump version (v0.30.0)
All checks were successful
continuous-integration/drone/tag Build is passing
2023-01-16 10:02:36 +01:00
665db0b8c5 Update changelog 2023-01-16 09:59:52 +01:00
558137e2ee Allow customization of the badge label 2023-01-16 09:54:04 +01:00
4708c19eb1 Merge pull request #544 from vbrandl/dependabot/cargo/git2-0.16.0
chore(deps): Bump git2 from 0.15.0 to 0.16.0
2023-01-13 12:39:46 +01:00
0e12778ea3 Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-13 12:29:23 +01:00
fe2fc171ce chore(deps): Bump git2 from 0.15.0 to 0.16.0
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.15.0 to 0.16.0.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/git2-curl-0.15.0...git2-curl-0.16.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-13 11:28:23 +00:00
061d7f8e07 Merge pull request #543 from vbrandl/dependabot/cargo/tracing-bunyan-formatter-0.3.6
chore(deps): Bump tracing-bunyan-formatter from 0.3.4 to 0.3.6
2023-01-13 12:27:02 +01:00
cd5eaeefbf chore(deps): Bump tracing-bunyan-formatter from 0.3.4 to 0.3.6
Bumps [tracing-bunyan-formatter](https://github.com/LukeMathWalker/tracing-bunyan-formatter) from 0.3.4 to 0.3.6.
- [Release notes](https://github.com/LukeMathWalker/tracing-bunyan-formatter/releases)
- [Commits](https://github.com/LukeMathWalker/tracing-bunyan-formatter/compare/v0.3.4...v0.3.6)

---
updated-dependencies:
- dependency-name: tracing-bunyan-formatter
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-13 11:15:00 +00:00
a0e4e5be88 Merge pull request #542 from vbrandl/dependabot/cargo/tracing-actix-web-0.7.2
chore(deps): Bump tracing-actix-web from 0.7.1 to 0.7.2
2023-01-13 12:09:52 +01:00
f179bd875e Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-13 12:03:21 +01:00
7445bdd29d chore(deps): Bump tracing-actix-web from 0.7.1 to 0.7.2
Bumps [tracing-actix-web](https://github.com/LukeMathWalker/tracing-actix-web) from 0.7.1 to 0.7.2.
- [Release notes](https://github.com/LukeMathWalker/tracing-actix-web/releases)
- [Commits](https://github.com/LukeMathWalker/tracing-actix-web/compare/v0.7.1...v0.7.2)

---
updated-dependencies:
- dependency-name: tracing-actix-web
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 04:05:39 +00:00
44a40cb086 Merge pull request #540 from vbrandl/release/v0.29.0
All checks were successful
continuous-integration/drone/push Build is passing
Release/v0.29.0
2023-01-07 16:34:43 +01:00
2c23df798f Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-07 16:08:31 +01:00
3c5c206f9b chore(cargo): Bump version to 0.29.0 2023-01-07 16:08:27 +01:00
c03d297b6b Merge pull request #539 from vbrandl/dependabot/cargo/tokio-1.24.1
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): Bump tokio from 1.23.1 to 1.24.1
2023-01-07 15:50:37 +01:00
ca640fc6ad Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-07 15:44:47 +01:00
6c2e158310 chore(deps): Bump tokio from 1.23.1 to 1.24.1
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.23.1 to 1.24.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.23.1...tokio-1.24.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-07 14:42:27 +00:00
68bc22e990 Merge pull request #537 from vbrandl/dependabot/cargo/vergen-7.5.0
chore(deps): Bump vergen from 7.4.4 to 7.5.0
2023-01-07 15:41:34 +01:00
c1bf500c9b Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-07 15:33:56 +01:00
d21bcd7946 chore(deps): Bump vergen from 7.4.4 to 7.5.0
Bumps [vergen](https://github.com/rustyhorde/vergen) from 7.4.4 to 7.5.0.
- [Release notes](https://github.com/rustyhorde/vergen/releases)
- [Commits](https://github.com/rustyhorde/vergen/compare/7.4.4...7.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-06 04:04:12 +00:00
51ff4c2ebb Merge pull request #536 from vbrandl/dependabot/cargo/tokio-1.23.1
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): Bump tokio from 1.23.0 to 1.23.1
2023-01-05 14:54:02 +01:00
862e928262 Update changelog 2023-01-05 14:52:28 +01:00
fb149da06c chore(deps): Bump tokio from 1.23.0 to 1.23.1
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.23.0 to 1.23.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.23.0...tokio-1.23.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-05 04:09:06 +00:00
872a81d6c2 Merge pull request #535 from vbrandl/dependabot/cargo/serde-1.0.152
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): Bump serde from 1.0.151 to 1.0.152
2022-12-27 22:26:29 +01:00
20828c7db4 Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-27 22:10:20 +01:00
a88600f02a chore(deps): Bump serde from 1.0.151 to 1.0.152
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.151 to 1.0.152.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.151...v1.0.152)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-27 04:04:08 +00:00
b392a05b42 Merge pull request #534 from vbrandl/dependabot/cargo/tracing-actix-web-0.7.1
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): Bump tracing-actix-web from 0.6.2 to 0.7.1
2022-12-26 19:56:18 +01:00
52fea6787b Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-26 19:49:25 +01:00
713b0487fc chore(deps): Bump tracing-actix-web from 0.6.2 to 0.7.1
Bumps [tracing-actix-web](https://github.com/LukeMathWalker/tracing-actix-web) from 0.6.2 to 0.7.1.
- [Release notes](https://github.com/LukeMathWalker/tracing-actix-web/releases)
- [Commits](https://github.com/LukeMathWalker/tracing-actix-web/compare/v0.6.2...v0.7.1)

---
updated-dependencies:
- dependency-name: tracing-actix-web
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-26 18:46:00 +00:00
8d7c769d84 Merge pull request #533 from vbrandl/dependabot/cargo/vergen-7.4.4
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): Bump vergen from 7.3.1 to 7.4.4
2022-12-26 19:45:14 +01:00
566fcf181b Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-26 19:34:49 +01:00
2d9c2b7097 chore(deps): Bump vergen from 7.3.1 to 7.4.4
All checks were successful
continuous-integration/drone/push Build is passing
Bumps [vergen](https://github.com/rustyhorde/vergen) from 7.3.1 to 7.4.4.
- [Release notes](https://github.com/rustyhorde/vergen/releases)
- [Commits](https://github.com/rustyhorde/vergen/compare/7.3.1...7.4.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-23 04:05:04 +00:00
b7237a6a16 Merge pull request #531 from vbrandl/dependabot/cargo/serde_json-1.0.91
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): Bump serde_json from 1.0.90 to 1.0.91
2022-12-19 11:29:40 +01:00
0a2d77920e Update changelog 2022-12-19 11:03:33 +01:00
6198dcf26d chore(deps): Bump serde_json from 1.0.90 to 1.0.91
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.90 to 1.0.91.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.90...v1.0.91)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-19 09:59:45 +00:00
51236eee78 Merge pull request #530 from vbrandl/dependabot/cargo/badgers-1.1.0
chore(deps): Bump badgers from 1.0.0 to 1.1.0
2022-12-19 10:58:13 +01:00
3db8f6830b Update changelog 2022-12-19 10:56:14 +01:00
8b19bdc0ae chore(deps): Bump badgers from 1.0.0 to 1.1.0
Bumps [badgers](https://github.com/vbrandl/badgers) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/vbrandl/badgers/releases)
- [Changelog](https://github.com/vbrandl/badgers/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vbrandl/badgers/compare/v1.0.0...v1.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-19 04:08:28 +00:00
eab043194a Merge pull request #529 from vbrandl/release/v0.28.0
All checks were successful
continuous-integration/drone/push Build is passing
Release/v0.28.0
2022-12-18 10:25:14 +01:00
13b3611a65 Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-18 09:57:52 +01:00
0d7f435d49 chore(cargo): Bump version to 0.28.0 2022-12-18 09:57:39 +01:00
eec82fa04a Merge pull request #523 from vbrandl/dependabot/cargo/tokio-1.23.0
chore(deps): Bump tokio from 1.22.0 to 1.23.0
2022-12-18 09:46:38 +01:00
c2cf11d794 chore(deps): Bump tokio from 1.22.0 to 1.23.0
Dependabot couldn't find the original pull request head commit, 481edb27de47bd9fabc529b25c5293137b503a9e.
2022-12-18 09:43:44 +01:00
f5f9a4a0d3 Merge pull request #528 from vbrandl/dependabot/cargo/serde-1.0.151
chore(deps): Bump serde from 1.0.147 to 1.0.151
2022-12-18 09:31:06 +01:00
554f0d21cf Update changelog 2022-12-18 09:23:30 +01:00
db78428191 chore(deps): Bump serde from 1.0.147 to 1.0.151
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.147 to 1.0.151.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.147...v1.0.151)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-18 08:21:21 +00:00
22bc5496f1 Merge pull request #527 from vbrandl/dependabot/cargo/serde_json-1.0.90
chore(deps): Bump serde_json from 1.0.88 to 1.0.90
2022-12-18 09:19:51 +01:00
3bb1784e52 Update changelog 2022-12-18 09:13:17 +01:00
6a5dec8cb7 chore(deps): Bump serde_json from 1.0.88 to 1.0.90
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.88 to 1.0.90.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.88...v1.0.90)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-18 08:10:27 +00:00
41a0d64b65 Merge pull request #522 from vbrandl/dependabot/cargo/config-0.13.3
chore(deps): Bump config from 0.13.2 to 0.13.3
2022-12-18 09:08:47 +01:00
a5249e2a64 Update changelog 2022-12-18 09:02:08 +01:00
f053c6bbf7 chore(deps): Bump config from 0.13.2 to 0.13.3
Bumps [config](https://github.com/mehcode/config-rs) from 0.13.2 to 0.13.3.
- [Release notes](https://github.com/mehcode/config-rs/releases)
- [Changelog](https://github.com/mehcode/config-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mehcode/config-rs/compare/0.13.2...0.13.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-18 08:00:53 +00:00
dd16ed862b Merge pull request #526 from vbrandl/fix/clippy-lints
Fix `needless_borrow` lints
2022-12-18 08:58:07 +01:00
65dc0205d0 Update changelog 2022-12-18 08:52:05 +01:00
0100b754f4 Fix needless_borrow lints 2022-12-18 08:50:52 +01:00
8d90ffff1e Merge pull request #519 from vbrandl/dependabot/cargo/bytes-1.3.0
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): Bump bytes from 1.2.1 to 1.3.0
2022-11-22 10:06:52 +01:00
2bec463cbe Update changelog
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-22 10:02:48 +01:00
e49135f128 chore(deps): Bump bytes from 1.2.1 to 1.3.0
Bumps [bytes](https://github.com/tokio-rs/bytes) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/tokio-rs/bytes/releases)
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/bytes/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-22 04:29:57 +00:00
f00b20dd19 Merge pull request #518 from vbrandl/release/v0.27.0
chore(cargo): Bump version (v0.27.0)
2022-11-21 11:41:18 +01:00
d98bfcd55a chore(cargo): Bump version (v0.27.0)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-11-21 10:52:30 +01:00
ea96746a54 Merge pull request #516 from vbrandl/dependabot/cargo/tokio-1.22.0
chore(deps): Bump tokio from 1.21.2 to 1.22.0
2022-11-21 10:47:58 +01:00
08ff91324c Update changelog 2022-11-21 10:40:08 +01:00
30e97ddc51 chore(deps): Bump tokio from 1.21.2 to 1.22.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.21.2 to 1.22.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.21.2...tokio-1.22.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-21 09:04:51 +00:00
6d4ec8f546 Merge pull request #517 from vbrandl/dependabot/cargo/serde_json-1.0.88
chore(deps): Bump serde_json from 1.0.87 to 1.0.88
2022-11-21 10:03:23 +01:00
499362cbce Update changelog 2022-11-21 09:59:59 +01:00
51ba8c19b4 chore(deps): Bump serde_json from 1.0.87 to 1.0.88
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.87 to 1.0.88.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.87...v1.0.88)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-21 04:14:15 +00:00
33d1eb784e Merge pull request #515 from vbrandl/dependabot/cargo/reqwest-0.11.13
chore(deps): Bump reqwest from 0.11.12 to 0.11.13
2022-11-17 11:20:48 +01:00
111a9720d6 Update changelog 2022-11-17 11:15:22 +01:00
e9c8612f62 chore(deps): Bump reqwest from 0.11.12 to 0.11.13
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.12 to 0.11.13.
- [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.12...v0.11.13)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-17 04:14:34 +00:00
f6b48c6ac6 Merge pull request #514 from vbrandl/fix/clippy-needless-borrow
All checks were successful
continuous-integration/drone/push Build is passing
Fix needless borrow lint
2022-11-05 12:31:33 +01:00
afc357c025 Update changelog 2022-11-05 12:20:28 +01:00
7aec5d5045 Fix needless borrow lint 2022-11-05 12:17:40 +01:00
502dda0b6e Merge pull request #513 from vbrandl/dependabot/cargo/tracing-actix-web-0.6.2
chore(deps): Bump tracing-actix-web from 0.6.1 to 0.6.2
2022-10-31 10:52:34 +01:00
40831cfa57 Update changelog 2022-10-31 10:39:48 +01:00
b841816173 chore(deps): Bump tracing-actix-web from 0.6.1 to 0.6.2
Bumps [tracing-actix-web](https://github.com/LukeMathWalker/tracing-actix-web) from 0.6.1 to 0.6.2.
- [Release notes](https://github.com/LukeMathWalker/tracing-actix-web/releases)
- [Commits](https://github.com/LukeMathWalker/tracing-actix-web/compare/v0.6.1...v0.6.2)

---
updated-dependencies:
- dependency-name: tracing-actix-web
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-31 04:14:53 +00:00
6e38e92f52 Merge pull request #512 from vbrandl/dependabot/cargo/serde-1.0.147
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): Bump serde from 1.0.145 to 1.0.147
2022-10-24 09:47:19 +02:00
fa323161e5 Update changelog 2022-10-24 09:44:17 +02:00
4697035936 chore(deps): Bump serde from 1.0.145 to 1.0.147
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.145 to 1.0.147.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.145...v1.0.147)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-24 04:23:21 +00:00
19b7ae0e6b Merge pull request #510 from vbrandl/dependabot/cargo/serde_json-1.0.87
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): Bump serde_json from 1.0.86 to 1.0.87
2022-10-20 11:28:33 +02:00
ecf052c73b Update changelog 2022-10-20 11:08:59 +02:00
7d297fc456 chore(deps): Bump serde_json from 1.0.86 to 1.0.87
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.86 to 1.0.87.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.86...v1.0.87)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-20 08:51:55 +00:00
a2a8261095 Merge pull request #511 from vbrandl/dependabot/cargo/futures-0.3.25
chore(deps): Bump futures from 0.3.24 to 0.3.25
2022-10-20 10:50:47 +02:00
8aac012161 Update changelog 2022-10-20 10:28:49 +02:00
c05843f07a chore(deps): Bump futures from 0.3.24 to 0.3.25
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.24 to 0.3.25.
- [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.24...0.3.25)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-20 04:14:57 +00:00
9df487ef1b Merge pull request #509 from vbrandl/release/0.26.0
All checks were successful
continuous-integration/drone/push Build is passing
chore: Bump version (v0.26.0)
2022-10-18 13:35:31 +02:00
11 changed files with 636 additions and 229 deletions

View File

@ -5,6 +5,172 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
* Updated [`tracing-actix-web`](https://github.com/LukeMathWalker/tracing-actix-web) from 0.7.2 to 0.7.3 ([#578])
* Updated [`serde`](https://github.com/serde-rs/serde) from 1.0.156 to 1.0.158 ([#580])
* Updated [`mime`](https://github.com/hyperium/mime) from 0.3.16 to 0.3.17 ([#582])
* Updated [`dotenvy`](https://github.com/allan2/dotenvy) from 0.15.6 to 0.15.7 ([#583])
* Updated [`reqwest`](https://github.com/seanmonstar/reqwest) from 0.11.14 to 0.11.16 ([#586])
* Updated [`tokio`](https://github.com/tokio-rs/tokio) from 1.26.0 to 1.27.0 ([#588])
* Updated [`tempfile`](https://github.com/Stebalien/tempfile) from 3.4.0 to 3.5.0 ([#590])
[#578]: https://github.com/vbrandl/hoc/pull/578
[#580]: https://github.com/vbrandl/hoc/pull/580
[#582]: https://github.com/vbrandl/hoc/pull/582
[#583]: https://github.com/vbrandl/hoc/pull/583
[#586]: https://github.com/vbrandl/hoc/pull/586
[#588]: https://github.com/vbrandl/hoc/pull/588
[#590]: https://github.com/vbrandl/hoc/pull/590
## [0.33.0] 2023-03-16
* Updated [`futures`](https://github.com/rust-lang/futures-rs) from 0.3.26 to 0.3.27 ([#575])
* Updated [`serde`](https://github.com/serde-rs/serde) from 1.0.152 to 1.0.156 ([#576])
* Use edition 2021 ([#577])
[#575]: https://github.com/vbrandl/hoc/pull/575
[#576]: https://github.com/vbrandl/hoc/pull/576
[#577]: https://github.com/vbrandl/hoc/pull/577
## [0.32.0] 2023-03-06
* Updated [`actix-web`](https://github.com/actix/actix-web) from 4.3.0 to 4.3.1 ([#566])
* Updated [`tempfile`](https://github.com/Stebalien/tempfile) from 3.3.0 to 3.4.0 ([#567])
* Updated [`awc`](https://github.com/actix/actix-web) from 3.1.0 to 3.1.1 ([#568])
* Updated [`tokio`](https://github.com/tokio-rs/tokio) from 1.25.0 to 1.26.0 ([#569])
* Updated [`serde_json`](https://github.com/serde-rs/json) from 1.0.93 to 1.0.94 ([#570])
[#566]: https://github.com/vbrandl/hoc/pull/566
[#567]: https://github.com/vbrandl/hoc/pull/567
[#568]: https://github.com/vbrandl/hoc/pull/568
[#569]: https://github.com/vbrandl/hoc/pull/569
[#570]: https://github.com/vbrandl/hoc/pull/570
## [0.31.0] 2023-02-13
### Dependency Updates
* Updated [`tokio`](https://github.com/tokio-rs/tokio) from 1.24.1 to 1.24.2 ([#547])
* Updated [`badgers`](https://github.com/vbrandl/badgers) from 1.1.0 to 1.2.0 ([#548])
* Updated [`reqwest`](https://github.com/seanmonstar/reqwest) from 0.11.13 to 0.11.14 ([#549])
* Updated [`bumpalo`](https://github.com/fitzgen/bumpalo) from 3.10.0 to 3.12.0 ([#550])
* Updated [`libgit2-sys`](https://github.com/rust-lang/git2-rs) from 0.14.1+1.5.0 to 0.14.2+1.5.1 ([#551])
* Updated [`git2`](https://github.com/rust-lang/git2-rs) from 0.16.0 to 0.16.1 ([#552])
* Updated [`actix-rt`](https://github.com/actix/actix-net) from 2.7.0 to 2.8.0 ([#553])
* Updated [`actix-web`](https://github.com/actix/actix-web) from 4.2.1 to 4.3.0 ([#554])
* Updated [`awc`](https://github.com/actix/actix-web) from 3.0.1 to 3.1.0 ([#555])
* Updated [`tokio`](https://github.com/tokio-rs/tokio) from 1.24.2 to 1.25.0 ([#558])
* Updated [`ructe`](https://github.com/kaj/ructe) from 0.15.0 to 0.16.1 ([#559])
* Updated [`futures`](https://github.com/rust-lang/futures-rs) from 0.3.25 to 0.3.26 ([#560])
* Updated [`bytes`](https://github.com/tokio-rs/bytes) from 1.3.0 to 1.4.0 ([#561])
* Updated [`serde_json`](https://github.com/serde-rs/json) from 1.0.91 to 1.0.92 ([#562])
* Updated [`vergen`](https://github.com/rustyhorde/vergen) from 7.5.0 to 7.5.1 ([#563])
* Updated [`serde_json`](https://github.com/serde-rs/json) from 1.0.92 to 1.0.93 ([#564])
[#547]: https://github.com/vbrandl/hoc/pull/547
[#548]: https://github.com/vbrandl/hoc/pull/548
[#550]: https://github.com/vbrandl/hoc/pull/550
[#551]: https://github.com/vbrandl/hoc/pull/551
[#552]: https://github.com/vbrandl/hoc/pull/552
[#553]: https://github.com/vbrandl/hoc/pull/553
[#554]: https://github.com/vbrandl/hoc/pull/554
[#555]: https://github.com/vbrandl/hoc/pull/555
[#558]: https://github.com/vbrandl/hoc/pull/558
[#559]: https://github.com/vbrandl/hoc/pull/559
[#560]: https://github.com/vbrandl/hoc/pull/560
[#561]: https://github.com/vbrandl/hoc/pull/561
[#562]: https://github.com/vbrandl/hoc/pull/562
[#563]: https://github.com/vbrandl/hoc/pull/563
[#564]: https://github.com/vbrandl/hoc/pull/564
## [0.30.0] 2023-01-16
### New Features
* Allow customization of the badge label ([#546])
### Dependency Updates
* Updated [`tracing-actix-web`](https://github.com/LukeMathWalker/tracing-actix-web) from 0.7.1 to 0.7.2 ([#542])
* Updated [`git2`](https://github.com/rust-lang/git2-rs) from 0.15.0 to 0.16.0 ([#544])
[#542]: https://github.com/vbrandl/hoc/pull/542
[#544]: https://github.com/vbrandl/hoc/pull/544
[#546]: https://github.com/vbrandl/hoc/pull/546
## [0.29.0] 2023-01-07
### Dependency Updates
* Updated [`badgers`](https://github.com/vbrandl/badgers) from 1.0.0 to 1.1.0 ([#530])
* Updated [`serde_json`](https://github.com/serde-rs/json) from 1.0.90 to 1.0.91 ([#531])
* Updated [`vergen`](https://github.com/rustyhorde/vergen) from 7.3.1 to 7.4.4 ([#533])
* Updated [`tracing-actix-web`](https://github.com/LukeMathWalker/tracing-actix-web) from 0.6.2 to 0.7.1 ([#534])
* Updated [`serde`](https://github.com/serde-rs/serde) from 1.0.151 to 1.0.152 ([#535])
* Updated [`tokio`](https://github.com/tokio-rs/tokio) from 1.23.0 to 1.23.1 ([#536])
* Updated [`vergen`](https://github.com/rustyhorde/vergen) from 7.4.4 to 7.5.0 ([#537])
* Updated [`tokio`](https://github.com/tokio-rs/tokio) from 1.23.1 to 1.24.1 ([#539])
[#530]: https://github.com/vbrandl/hoc/pull/530
[#531]: https://github.com/vbrandl/hoc/pull/531
[#533]: https://github.com/vbrandl/hoc/pull/533
[#534]: https://github.com/vbrandl/hoc/pull/534
[#535]: https://github.com/vbrandl/hoc/pull/535
[#536]: https://github.com/vbrandl/hoc/pull/536
[#537]: https://github.com/vbrandl/hoc/pull/537
[#539]: https://github.com/vbrandl/hoc/pull/539
## [0.28.0] 2022-12-18
### Fixes
* Fixed clippy lint `needless_borrow` ([#526])
### Dependency Updates
* Updated [`bytes`](https://github.com/tokio-rs/bytes) from 1.2.1 to 1.3.0 ([#519])
* Updated [`config`](https://github.com/mehcode/config-rs) from 0.13.2 to 0.13.3 ([#522])
* Updated [`serde_json`](https://github.com/serde-rs/json) from 1.0.88 to 1.0.90 ([#527])
* Updated [`serde`](https://github.com/serde-rs/serde) from 1.0.147 to 1.0.151 ([#528])
[#519]: https://github.com/vbrandl/hoc/pull/519
[#522]: https://github.com/vbrandl/hoc/pull/522
[#526]: https://github.com/vbrandl/hoc/pull/526
[#527]: https://github.com/vbrandl/hoc/pull/527
[#528]: https://github.com/vbrandl/hoc/pull/528
## [0.27.0] 2022-10-21
### Dependency Updates
* Updated [`futures`](https://github.com/rust-lang/futures-rs) from 0.3.24 to 0.3.25 ([#511])
* Updated [`serde_json`](https://github.com/serde-rs/json) from 1.0.86 to 1.0.87 ([#510])
* Updated [`serde`](https://github.com/serde-rs/serde) from 1.0.145 to 1.0.147 ([#512])
* Updated [`tracing-actix-web`](https://github.com/LukeMathWalker/tracing-actix-web) from 0.6.1 to 0.6.2 ([#513])
* Updated [`reqwest`](https://github.com/seanmonstar/reqwest) from 0.11.12 to 0.11.13 ([#515])
* Updated [`tokio`](https://github.com/tokio-rs/tokio) from 1.21.2 to 1.22.0 ([#516])
* Updated [`serde_json`](https://github.com/serde-rs/json) from 1.0.87 to 1.0.88 ([#517])
### Fixes
* Fix clippy lint `needless-borrow` ([#514])
[#511]: https://github.com/vbrandl/hoc/pull/511
[#510]: https://github.com/vbrandl/hoc/pull/510
[#512]: https://github.com/vbrandl/hoc/pull/512
[#513]: https://github.com/vbrandl/hoc/pull/513
[#514]: https://github.com/vbrandl/hoc/pull/514
[#515]: https://github.com/vbrandl/hoc/pull/515
[#516]: https://github.com/vbrandl/hoc/pull/516
[#517]: https://github.com/vbrandl/hoc/pull/517
## [0.26.0] 2022-10-03
### Changed

548
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +1,8 @@
[package]
name = "hoc"
version = "0.26.0"
version = "0.33.0"
authors = ["Valentin Brandl <vbrandl@riseup.net>"]
edition = "2018"
edition = "2021"
build = "build.rs"
[lib]
@ -13,35 +13,35 @@ path = "src/main.rs"
name = "hoc"
[dependencies]
actix-rt = "2.7.0"
actix-web = "4.2.1"
badgers = "1.0.0"
bytes = "1.2.1"
config = { version = "0.13.2", features = ["toml"] }
dotenvy = "0.15.6"
futures = "0.3.24"
git2 = "0.15.0"
actix-rt = "2.8.0"
actix-web = "4.3.1"
badgers = "1.2.0"
bytes = "1.4.0"
config = { version = "0.13.3", features = ["toml"] }
dotenvy = "0.15.7"
futures = "0.3.27"
git2 = "0.16.1"
lazy_static = "1.4.0"
mime = "0.3"
number_prefix = "0.4.0"
openssl-probe = "0.1.5"
reqwest = "0.11.12"
serde = "1.0.145"
reqwest = "0.11.16"
serde = "1.0.158"
serde_derive = "1.0.137"
serde_json = "1.0.86"
serde_json = "1.0.94"
tracing = "0.1.37"
tracing-actix-web = "0.6.1"
tracing-bunyan-formatter = "0.3.4"
tracing-actix-web = "0.7.3"
tracing-bunyan-formatter = "0.3.6"
tracing-futures = "0.2.5"
tracing-log = "0.1.3"
tracing-subscriber = { version = "0.3.16", features = ["registry", "env-filter"] }
[build-dependencies]
ructe = { version = "0.15.0", features = ["mime03"] }
vergen = { version = "7.3.1", default-features = false, features = ["git"] }
ructe = { version = "0.16.1", features = ["mime03"] }
vergen = { version = "7.5.1", default-features = false, features = ["git"] }
[dev-dependencies]
awc = "3.0.1"
ructe = "0.15.0"
tempfile = "3.3.0"
tokio = "1.21.2"
awc = "3.1.1"
ructe = "0.16.1"
tempfile = "3.5.0"
tokio = "1.27.0"

View File

@ -19,13 +19,13 @@ pub enum Error {
impl fmt::Display for Error {
fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
match self {
Error::Badge(s) => write!(fmt, "Badge({})", s),
Error::Client(e) => write!(fmt, "Client({})", e),
Error::Git(e) => write!(fmt, "Git({})", e),
Error::Badge(s) => write!(fmt, "Badge({s})"),
Error::Client(e) => write!(fmt, "Client({e})"),
Error::Git(e) => write!(fmt, "Git({e})"),
Error::Internal => write!(fmt, "Internal Error"),
Error::Io(e) => write!(fmt, "Io({})", e),
Error::Parse(e) => write!(fmt, "Parse({})", e),
Error::Serial(e) => write!(fmt, "Serial({})", e),
Error::Io(e) => write!(fmt, "Io({e})"),
Error::Parse(e) => write!(fmt, "Parse({e})"),
Error::Serial(e) => write!(fmt, "Serial({e})"),
Error::BranchNotFound => write!(fmt, "Repo doesn't have master branch"),
}
}
@ -43,11 +43,11 @@ impl ResponseError for Error {
let mut buf = Vec::new();
match self {
Error::BranchNotFound => {
templates::p404_no_master(&mut buf, VERSION_INFO, 0).unwrap();
templates::p404_no_master_html(&mut buf, VERSION_INFO, 0).unwrap();
HttpResponse::NotFound().content_type("text/html").body(buf)
}
_ => {
templates::p500(&mut buf, VERSION_INFO, 0).unwrap();
templates::p500_html(&mut buf, VERSION_INFO, 0).unwrap();
HttpResponse::InternalServerError()
.content_type("text/html")
.body(buf)

View File

@ -83,8 +83,14 @@ struct JsonResponse<'a> {
}
#[derive(Deserialize, Debug)]
struct BranchQuery {
struct BadgeQuery {
branch: Option<String>,
#[serde(default = "default_label")]
label: String,
}
fn default_label() -> String {
"Hits-of-Code".to_string()
}
fn pull(path: impl AsRef<Path>) -> Result<()> {
@ -95,8 +101,8 @@ fn pull(path: impl AsRef<Path>) -> Result<()> {
}
fn hoc(repo: &str, repo_dir: &str, cache_dir: &str, branch: &str) -> Result<(u64, String, u64)> {
let repo_dir = format!("{}/{}", repo_dir, repo);
let cache_dir = format!("{}/{}.json", cache_dir, repo);
let repo_dir = format!("{repo_dir}/{repo}");
let cache_dir = format!("{cache_dir}/{repo}.json");
let cache_dir = Path::new(&cache_dir);
let repo = Repository::open_bare(&repo_dir)?;
// TODO: do better...
@ -118,7 +124,7 @@ fn hoc(repo: &str, repo_dir: &str, cache_dir: &str, branch: &str) -> Result<(u64
"-M".to_string(),
"--diff-filter=ACDM".to_string(),
];
let cache = CacheState::read_from_file(&cache_dir, branch, &head)?;
let cache = CacheState::read_from_file(cache_dir, branch, &head)?;
match &cache {
CacheState::Current { count, commits, .. } => {
info!("Using cache");
@ -126,8 +132,8 @@ fn hoc(repo: &str, repo_dir: &str, cache_dir: &str, branch: &str) -> Result<(u64
}
CacheState::Old { head, .. } => {
info!("Updating cache");
arg.push(format!("{}..{}", head, branch));
arg_commit_count.push(format!("{}..{}", head, branch));
arg.push(format!("{head}..{branch}"));
arg_commit_count.push(format!("{head}..{branch}"));
}
CacheState::No | CacheState::NoneForBranch(..) => {
info!("Creating cache");
@ -208,16 +214,16 @@ where
data.1.to_lowercase()
);
info!("Deleting cache and repository");
let cache_dir = format!("{}/{}.json", &state.cache(), repo);
let repo_dir = format!("{}/{}", &state.repos(), repo);
std::fs::remove_file(&cache_dir).or_else(|e| {
let cache_dir = format!("{}/{repo}.json", &state.cache());
let repo_dir = format!("{}/{repo}", &state.repos());
std::fs::remove_file(cache_dir).or_else(|e| {
if e.kind() == io::ErrorKind::NotFound {
Ok(())
} else {
Err(e)
}
})?;
std::fs::remove_dir_all(&repo_dir).or_else(|e| {
std::fs::remove_dir_all(repo_dir).or_else(|e| {
if e.kind() == io::ErrorKind::NotFound {
Ok(())
} else {
@ -256,10 +262,10 @@ where
);
let future = async {
let repo = format!("{}/{}", data.0.to_lowercase(), data.1.to_lowercase());
let service_path = format!("{}/{}", T::url_path(), repo);
let service_url = format!("{}/{}", T::domain(), repo);
let path = format!("{}/{}", state.repos(), service_url);
let url = format!("https://{}", service_url);
let service_path = format!("{}/{repo}", T::url_path());
let service_url = format!("{}/{repo}", T::domain());
let path = format!("{}/{service_url}", state.repos());
let url = format!("https://{service_url}");
let remote_exists = remote_exists(&url).await?;
let file = Path::new(&path);
if !file.exists() {
@ -278,7 +284,7 @@ where
let (hoc, head, commits) = hoc(&service_url, &state.repos(), &state.cache(), branch)?;
let hoc_pretty = match NumberPrefix::decimal(hoc as f64) {
NumberPrefix::Standalone(hoc) => hoc.to_string(),
NumberPrefix::Prefixed(prefix, hoc) => format!("{:.1}{}", hoc, prefix),
NumberPrefix::Prefixed(prefix, hoc) => format!("{hoc:.1}{prefix}"),
};
let res = HocResult::Hoc {
hoc,
@ -298,7 +304,7 @@ pub(crate) async fn json_hoc<T: Service>(
state: web::Data<State>,
repo_count: web::Data<AtomicUsize>,
data: web::Path<(String, String)>,
branch: web::Query<BranchQuery>,
branch: web::Query<BadgeQuery>,
) -> Result<HttpResponse> {
let branch = branch.branch.as_deref().unwrap_or("master");
let rc_clone = repo_count.clone();
@ -334,14 +340,15 @@ pub(crate) async fn calculate_hoc<T: Service>(
state: web::Data<State>,
repo_count: web::Data<AtomicUsize>,
data: web::Path<(String, String)>,
branch: web::Query<BranchQuery>,
query: web::Query<BadgeQuery>,
) -> HttpResponse {
let rc_clone = repo_count.clone();
let label = query.label.clone();
let mapper = move |r| match r {
HocResult::NotFound => p404(rc_clone),
HocResult::Hoc { hoc_pretty, .. } => {
let badge_opt = BadgeOptions {
subject: "Hits-of-Code".to_string(),
subject: label,
color: "#007ec6".to_string(),
status: hoc_pretty,
};
@ -352,10 +359,10 @@ pub(crate) async fn calculate_hoc<T: Service>(
Ok(no_cache_response(body))
}
};
let branch = branch.branch.as_deref().unwrap_or("master");
let branch = query.branch.as_deref().unwrap_or("master");
let error_badge = |_| {
let error_badge = Badge::new(BadgeOptions {
subject: "Hits-of-Code".to_string(),
subject: query.label.clone(),
color: "#ff0000".to_string(),
status: "error".to_string(),
})
@ -372,9 +379,10 @@ async fn overview<T: Service>(
state: web::Data<State>,
repo_count: web::Data<AtomicUsize>,
data: web::Path<(String, String)>,
branch: web::Query<BranchQuery>,
query: web::Query<BadgeQuery>,
) -> Result<HttpResponse> {
let branch = branch.branch.as_deref().unwrap_or("master");
let branch = query.branch.as_deref().unwrap_or("master");
let label = query.label.clone();
let base_url = state.settings.base_url.clone();
let rc_clone = repo_count.clone();
let mapper = move |r| match r {
@ -400,11 +408,12 @@ async fn overview<T: Service>(
url: &url,
branch,
};
templates::overview(
templates::overview_html(
&mut buf,
VERSION_INFO,
rc_clone.load(Ordering::Relaxed),
repo_info,
label,
)?;
Ok(HttpResponse::Ok().content_type("text/html").body(buf))
@ -424,7 +433,7 @@ async fn index(
repo_count: web::Data<AtomicUsize>,
) -> Result<HttpResponse> {
let mut buf = Vec::new();
templates::index(
templates::index_html(
&mut buf,
VERSION_INFO,
repo_count.load(Ordering::Relaxed),
@ -450,7 +459,7 @@ async fn generate(
.filter(|s| !s.is_empty())
.unwrap_or("master"),
};
templates::generate(
templates::generate_html(
&mut buf,
VERSION_INFO,
repo_count.load(Ordering::Relaxed),
@ -463,7 +472,7 @@ async fn generate(
fn p404(repo_count: web::Data<AtomicUsize>) -> Result<HttpResponse> {
let mut buf = Vec::new();
templates::p404(&mut buf, VERSION_INFO, repo_count.load(Ordering::Relaxed))?;
templates::p404_html(&mut buf, VERSION_INFO, repo_count.load(Ordering::Relaxed))?;
Ok(HttpResponse::NotFound().content_type("text/html").body(buf))
}

View File

@ -1,9 +1,9 @@
@use super::base;
@use super::base_html;
@use crate::{statics::VersionInfo, template::RepoGeneratorInfo};
@(version_info: VersionInfo, repo_count: usize, base_url: &str, repo_info: &RepoGeneratorInfo)
@:base("Hits-of-Code Badges", "Badge Generator", {
@:base_html("Hits-of-Code Badges", "Badge Generator", {
<p>
Here is the markdown for the badge for <a href="https://@repo_info.service.url()/@repo_info.user/@repo_info.repo">@repo_info.user/@repo_info.repo</a>

View File

@ -1,9 +1,9 @@
@use super::base;
@use super::base_html;
@use crate::statics::VersionInfo;
@(version_info: VersionInfo, repo_count: usize, base_url: &str)
@:base("Hits-of-Code Badges", "Hits-of-Code Badges", {
@:base_html("Hits-of-Code Badges", "Hits-of-Code Badges", {
<p>
This API offers badges for the Hits-of-Code metric for your repositories. This metric was proposed by
@ -51,6 +51,10 @@ in your repository or you want a badge for another branch of your repository, ju
<code>?branch=&lt;branch-name&gt;</code> to the URL.
</p>
<p>
The badge label can be customized using the <code>label=&lt;some-label&gt;</code> query parameter. It defaults to <code>Hits-of-Code</code>.
</p>
<p>
You can also request the HoC as JSON by appending <code>/json</code> to the request path. This will return a JSON object
with three fields: <code>count</code> (the HoC value), <code>commits</code> (the number of commits) and

View File

@ -1,10 +1,10 @@
@use super::base;
@use super::base_html;
@use crate::statics::VersionInfo;
@use crate::template::RepoInfo;
@(version_info: VersionInfo, repo_count: usize, repo_info: RepoInfo)
@(version_info: VersionInfo, repo_count: usize, repo_info: RepoInfo, label: String)
@:base("Hits-of-Code Badges", "Overview", {
@:base_html("Hits-of-Code Badges", "Overview", {
<p>
The project <a href="@repo_info.url">@repo_info.url</a> has
@ -19,7 +19,7 @@ To include the badge in your readme, use the following markdown:
</p>
<pre>
[![Hits-of-Code](@repo_info.base_url/@repo_info.path?branch=@repo_info.branch)](@repo_info.base_url/@repo_info.path/view?branch=@repo_info.branch)
[![@label](@repo_info.base_url/@repo_info.path?branch=@repo_info.branch&label=@label)](@repo_info.base_url/@repo_info.path/view?branch=@repo_info.branch&label=@label)
</pre>

View File

@ -1,9 +1,9 @@
@use super::base;
@use super::base_html;
@use crate::statics::VersionInfo;
@(version_info: VersionInfo, repo_count: usize)
@:base("Page not Found - Hits-of-Code Badges", "404 - Page not Found", {
@:base_html("Page not Found - Hits-of-Code Badges", "404 - Page not Found", {
<p>
<big>Sorry</big>. I couldn't find the page you are looking for. Please go <a href="/">back to the homepage</a>.
</p>

View File

@ -1,9 +1,9 @@
@use super::base;
@use super::base_html;
@use crate::statics::VersionInfo;
@(version_info: VersionInfo, repo_count: usize)
@:base("Branch not Found - Hits-of-Code Badges", "404 - Branch not Found", {
@:base_html("Branch not Found - Hits-of-Code Badges", "404 - Branch not Found", {
<p>
<big>Sorry</big>. I couldn't find the requested branch of your repositroy. Currently this service assumes the
extistence of a branch named <code>master</code>. If you'd like to request a badge for another branch, you can do so by

View File

@ -1,9 +1,9 @@
@use super::base;
@use super::base_html;
@use crate::statics::VersionInfo;
@(version_info: VersionInfo, repo_count: usize)
@:base("Internal Server Error - Hits-of-Code Badges", "500 - Internal Server Error", {
@:base_html("Internal Server Error - Hits-of-Code Badges", "500 - Internal Server Error", {
<p>
<big>Oops</big>. Looks like a made a mistake. Please go <a href="/">back to the homepage</a> and try again.
</p>