Compare commits

..

No commits in common. "0516abb8fddccaf02e261107cd68c39ce560b568" and "bdc847f5d0bdde596b0b7ee31913d7fd4a474501" have entirely different histories.

4 changed files with 3 additions and 10 deletions

View file

@ -3,13 +3,6 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
## [v0.4.4](https://codeberg.org/ThetaDev/artifactview/compare/v0.4.3..v0.4.4) - 2024-06-22
### 🐛 Bug Fixes
- Use forge aliases for PR comment links - ([3690b02](https://codeberg.org/ThetaDev/artifactview/commit/3690b0244cf47d0d73511f5f69f5d12abe0f1837))
## [v0.4.3](https://codeberg.org/ThetaDev/artifactview/compare/v0.4.2..v0.4.3) - 2024-06-22 ## [v0.4.3](https://codeberg.org/ThetaDev/artifactview/compare/v0.4.2..v0.4.3) - 2024-06-22
### 🐛 Bug Fixes ### 🐛 Bug Fixes

2
Cargo.lock generated
View file

@ -141,7 +141,7 @@ dependencies = [
[[package]] [[package]]
name = "artifactview" name = "artifactview"
version = "0.4.4" version = "0.4.3"
dependencies = [ dependencies = [
"async_zip", "async_zip",
"axum", "axum",

View file

@ -1,6 +1,6 @@
[package] [package]
name = "artifactview" name = "artifactview"
version = "0.4.4" version = "0.4.3"
edition = "2021" edition = "2021"
authors = ["ThetaDev <thetadev@magenta.de>"] authors = ["ThetaDev <thetadev@magenta.de>"]
license = "MIT" license = "MIT"

View file

@ -672,7 +672,7 @@ impl App {
.extract::<Json<PrCommentReq>, _>() .extract::<Json<PrCommentReq>, _>()
.await .await
.map_err(|e| Error::BadRequest(e.body_text().into()))?; .map_err(|e| Error::BadRequest(e.body_text().into()))?;
let query = RunQuery::from_forge_url_alias(&req.url, &state.i.cfg.load().site_aliases)?; let query = RunQuery::from_forge_url(&req.url)?;
if let Some(limiter) = &state.i.lim_pr_comment { if let Some(limiter) = &state.i.lim_pr_comment {
limiter.check_key(&ip).map_err(Error::from)?; limiter.check_key(&ip).map_err(Error::from)?;