12 Commits

Author SHA1 Message Date
25051767d3 Update dependency org.modelmapper:modelmapper to v3.2.6
All checks were successful
Build / build (pull_request) Successful in 1m47s
2026-05-02 21:00:30 +00:00
e006f01b8e Merge pull request 'Update renovate.json' (#7) from seeseemelk-patch-1 into master
All checks were successful
Deploy / build (push) Successful in 1m37s
Reviewed-on: #7
2026-05-02 22:58:40 +02:00
4c89789601 Update renovate.json
All checks were successful
Build / build (pull_request) Successful in 1m23s
2026-05-02 22:54:52 +02:00
5359209956 Merge pull request 'Update .gitea/workflows/build.yml' (#6) from seeseemelk-patch-1 into master
Some checks failed
Deploy / build (push) Has been cancelled
Reviewed-on: #6
2026-05-02 22:53:13 +02:00
6b63f75070 Update .gitea/workflows/build.yml
All checks were successful
Build / build (pull_request) Successful in 2m10s
2026-05-02 22:52:58 +02:00
164f7fe3a6 Merge pull request 'Configure Renovate' (#3) from renovate/configure into master
Some checks failed
Deploy / build (push) Has been cancelled
Build / build (push) Successful in 3m23s
Reviewed-on: #3
2026-05-02 22:51:39 +02:00
312ab74ead Add renovate.json 2026-05-02 20:51:01 +00:00
ad1cb70cdc Update .gitea/workflows/deploy.yml
All checks were successful
Build / build (push) Successful in 1m35s
Deploy / build (push) Successful in 2m7s
2026-02-14 19:08:58 +01:00
ce01b7ad14 Update .gitea/workflows/deploy.yml
Some checks failed
Build / build (push) Has been cancelled
2026-02-14 19:08:32 +01:00
02c7b966eb Update .gitea/workflows/build.yml
Some checks failed
Build / build (push) Has been cancelled
2026-02-14 19:08:22 +01:00
a3d9e1ebb9 Update .gitea/workflows/deploy.yml
Some checks failed
Build / build (push) Has been cancelled
2026-02-14 19:08:14 +01:00
40e13ec585 Enhance asset display by linking builds and handling null builds in overview
All checks were successful
Build / build (push) Successful in 1m23s
2025-06-15 17:29:50 +02:00
5 changed files with 20 additions and 11 deletions

View File

@@ -1,11 +1,12 @@
name: Build
on:
push:
pull_request:
branches:
- '*'
- master
jobs:
build:
runs-on: standard-latest
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

View File

@@ -1,11 +1,12 @@
name: Deploy
on:
push:
tags:
- 'v*'
branches:
- master
jobs:
build:
runs-on: standard-latest
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
@@ -18,10 +19,10 @@ jobs:
cache: 'gradle'
- name: Build Jar
run: ./gradlew bootJar
run: ./gradlew bootJar --no-daemon
- name: Build Container
run: docker build --tag gitea.seeseepuff.be/seeseemelk/pcinv:${{github.ref_name}} .
run: docker build --tag gitea.seeseepuff.be/seeseemelk/pcinv:latest .
- name: Login
with: # Set the secret as an input
@@ -29,4 +30,4 @@ jobs:
run: docker login gitea.seeseepuff.be -u seeseemelk -p ${{ secrets.PACKAGE_RW }}
- name: Push Container
run: docker push gitea.seeseepuff.be/seeseemelk/pcinv:${{github.ref_name}}
run: docker push gitea.seeseepuff.be/seeseemelk/pcinv:latest

View File

@@ -29,7 +29,7 @@ dependencies {
implementation("org.springframework.boot:spring-boot-starter-web")
implementation("org.springframework.boot:spring-boot-starter-actuator")
implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.8")
implementation("org.modelmapper:modelmapper:3.2.3")
implementation("org.modelmapper:modelmapper:3.2.6")
compileOnly("org.projectlombok:lombok")
developmentOnly("org.springframework.boot:spring-boot-devtools")
runtimeOnly("org.postgresql:postgresql")

6
renovate.json Normal file
View File

@@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
]
}

View File

@@ -9,7 +9,8 @@
<tr th:each="a : ${assets}">
<td th:each="p : ${properties}" th:if="${!p.hideInOverview}">
<a th:if="${p.name == 'qr'}" th:href="'/view/'+${a.getQr()}" th:text="${p.renderValue(a)}"></a>
<span th:if="${p.name != 'qr'}" th:text="${p.renderValue(a)}"></span>
<a th:if="${p.name == 'build' && a.getAsset().getBuild() != null}" th:href="'/build/'+${a.getAsset().getBuild().getId()}" th:text="${p.renderValue(a)}"></a>
<span th:if="${p.name != 'qr' && (p.name != 'build' || a.getAsset().getBuild() == null)}" th:text="${p.renderValue(a)}"></span>
</td>
<td>
<a th:href="'/view/'+${a.getQr()}">View</a>