Compare commits
2 commits
bdc847f5d0
...
0516abb8fd
Author | SHA1 | Date | |
---|---|---|---|
0516abb8fd | |||
3690b0244c |
4 changed files with 10 additions and 3 deletions
|
@ -3,6 +3,13 @@
|
||||||
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
2
Cargo.lock
generated
|
@ -141,7 +141,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "artifactview"
|
name = "artifactview"
|
||||||
version = "0.4.3"
|
version = "0.4.4"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"async_zip",
|
"async_zip",
|
||||||
"axum",
|
"axum",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "artifactview"
|
name = "artifactview"
|
||||||
version = "0.4.3"
|
version = "0.4.4"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
authors = ["ThetaDev <thetadev@magenta.de>"]
|
authors = ["ThetaDev <thetadev@magenta.de>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
|
@ -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(&req.url)?;
|
let query = RunQuery::from_forge_url_alias(&req.url, &state.i.cfg.load().site_aliases)?;
|
||||||
|
|
||||||
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)?;
|
||||||
|
|
Loading…
Reference in a new issue