Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
0688070
Upgrade to VueJs3
Jan 22, 2026
d7f7209
Backport: Display optional blank node as list (#194) (#198)
dennisvang Jun 16, 2025
65b1618
Backport: Detect optional nodes using nodeShape instead of BlankNodeE…
dennisvang Jun 27, 2025
f89ae09
fix tsc command
Jan 22, 2026
34596c3
applied review comments and fix lint errors
Jan 22, 2026
276569c
Applied review comments
Feb 12, 2026
cb947c2
Applied review comment part 2
Feb 12, 2026
ef38168
Create dependabot.yml for version updates
hcvdwerf Feb 13, 2026
4ba4493
Rename publish.yml to release.yml
hcvdwerf Feb 13, 2026
72c8287
Merge pull request #1 from Health-RI/Upgrade-to-VueJs3
hcvdwerf Feb 13, 2026
3a94dfa
Update test
Feb 13, 2026
5c53419
Fix release
Feb 13, 2026
86d8047
remove UT
Feb 13, 2026
981202a
remove prettier
Feb 13, 2026
e894c10
I did a patch of the index.html
Feb 13, 2026
8b7bef9
doc: update CHANGELOG.md for v1.0.0
LNDS-Sysadmins Feb 13, 2026
0aa3a73
fix resolve host
Feb 13, 2026
241aa72
Cherry pick fix of host
Feb 13, 2026
fb97994
fix index.html
Feb 13, 2026
71bfe49
Merge pull request #11 from Health-RI/update-test
SeanBerrieHRI Feb 16, 2026
97790f7
Bump axios from 1.13.2 to 1.13.5
dependabot[bot] Feb 20, 2026
3c1b5f4
Bump rollup from 4.55.2 to 4.59.0
dependabot[bot] Mar 1, 2026
96a8d15
Bump minimatch from 3.1.2 to 3.1.5
dependabot[bot] Mar 2, 2026
2c8aa06
Bump immutable from 5.1.4 to 5.1.5
dependabot[bot] Mar 4, 2026
9411e54
fix ping save
Mar 11, 2026
ff58689
Merge pull request #17 from Health-RI/dependabot/npm_and_yarn/immutab…
hcvdwerf Mar 11, 2026
ab9e60a
Merge pull request #16 from Health-RI/dependabot/npm_and_yarn/minimat…
hcvdwerf Mar 11, 2026
6c88746
Bump serialize-javascript and terser-webpack-plugin
dependabot[bot] Mar 11, 2026
03ef58d
Merge pull request #15 from Health-RI/dependabot/npm_and_yarn/rollup-…
hcvdwerf Mar 11, 2026
552e799
Merge pull request #18 from Health-RI/dependabot/npm_and_yarn/multi-0…
hcvdwerf Mar 11, 2026
6cbf922
Merge pull request #14 from Health-RI/dependabot/npm_and_yarn/axios-1…
hcvdwerf Mar 11, 2026
f375951
Merge commit '6cbf9225161352ba19fea2a09634739d162dabdf' into Upgrade-…
Mar 11, 2026
e856124
Merge commit '6cbf9225161352ba19fea2a09634739d162dabdf' into chore/v1…
Mar 11, 2026
7954a78
Merge pull request #10 from Health-RI/chore/v1.0.0
hcvdwerf Mar 11, 2026
bdb05f9
Merge branch 'main' into Upgrade-to-VueJs3
hcvdwerf Mar 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,23 @@ module.exports = {
'max-classes-per-file': 'off',
'no-use-before-define': 'off',
'vue/multi-word-component-names': 'off',
'@typescript-eslint/no-unused-vars': ['warn', {
argsIgnorePattern: '^_',
varsIgnorePattern: '^_',
caughtErrorsIgnorePattern: '^_',
}],
'vue/no-v-for-template-key': 'off',
'vue/html-button-has-type': 'off',
'vue/no-template-target-blank': 'off',
},
parserOptions: {
parser: '@typescript-eslint/parser',
},
settings: {
'import/resolver': {
typescript: {
project: './tsconfig.json',
},
},
},
}
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
46 changes: 0 additions & 46 deletions .github/workflows/build.yml

This file was deleted.

138 changes: 138 additions & 0 deletions .github/workflows/generate_changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
name: Generate Changelog

permissions:
contents: write
pull-requests: write

on:
workflow_call:
inputs:
tag:
required: true
type: string

jobs:
generate-changelog:
name: Update CHANGELOG and Open PR
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0

- name: Generate changelog entry
shell: bash
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BASE_BRANCH: ${{ github.event.repository.default_branch }}
run: |
set -euo pipefail

git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"

CHANGELOG_FILE="CHANGELOG.md"
LATEST_TAG="${{ inputs.tag }}"
PREVIOUS_TAG="$(git tag --sort=-creatordate | sed -n '2p')"
CHANGELOG_BRANCH="chore/changelog-${LATEST_TAG#v}"

if [[ -n "$PREVIOUS_TAG" ]]; then
RANGE="$PREVIOUS_TAG..$LATEST_TAG"
echo "Generating changelog for $LATEST_TAG since $PREVIOUS_TAG"
else
RANGE="$LATEST_TAG"
echo "Generating changelog for $LATEST_TAG from repository start"
fi

git checkout -B "$CHANGELOG_BRANCH"

COMMITS="$(git log "$RANGE" --no-merges --pretty=format:"%s by @%an in %h" || true)"

ADDED=""; CHANGED=""; FIXED=""; REMOVED=""; SECURITY=""
while IFS= read -r line; do
[[ -z "$line" ]] && continue
case "$line" in
*feat*|*implement*) ADDED+="- $line\n" ;;
*fix*|*bug*|*resolve*|*patch*) FIXED+="- $line\n" ;;
*update*|*modify*|*change*|*refactor*|*chore*) CHANGED+="- $line\n" ;;
*decommission*|*delete*|*remove*) REMOVED+="- $line\n" ;;
*security*|*vuln*|*"patch security"*) SECURITY+="- $line\n" ;;
*) CHANGED+="- $line\n" ;;
esac
done <<< "$COMMITS"

if [[ -z "$ADDED$CHANGED$FIXED$REMOVED$SECURITY" ]]; then
CHANGED="- No user-facing changes captured in commit messages.\n"
fi

{
echo "## [$LATEST_TAG] - $(date +'%Y-%m-%d')"
echo
[[ -n "$ADDED" ]] && echo -e "### Added\n$ADDED"
[[ -n "$CHANGED" ]] && echo -e "### Changed\n$CHANGED"
[[ -n "$FIXED" ]] && echo -e "### Fixed\n$FIXED"
[[ -n "$REMOVED" ]] && echo -e "### Removed\n$REMOVED"
[[ -n "$SECURITY" ]] && echo -e "### Security\n$SECURITY"
} > temp_changelog.md

if [[ ! -f "$CHANGELOG_FILE" ]]; then
{
echo "# Changelog"
echo
echo "All notable changes to this project will be documented in this file."
echo
echo "## [Unreleased]"
echo
} > "$CHANGELOG_FILE"
fi

if grep -q "^## \[Unreleased\]" "$CHANGELOG_FILE"; then
awk '
BEGIN { inserted=0 }
{
print
if (!inserted && $0 ~ /^## \[Unreleased\]/) {
print ""
while ((getline line < "temp_changelog.md") > 0) print line
close("temp_changelog.md")
print ""
inserted=1
}
}
' "$CHANGELOG_FILE" > "${CHANGELOG_FILE}.tmp"
mv "${CHANGELOG_FILE}.tmp" "$CHANGELOG_FILE"
else
{
cat temp_changelog.md
echo
cat "$CHANGELOG_FILE"
} > "${CHANGELOG_FILE}.tmp"
mv "${CHANGELOG_FILE}.tmp" "$CHANGELOG_FILE"
fi
rm -f temp_changelog.md

git add "$CHANGELOG_FILE"
if git diff --cached --quiet; then
echo "No changelog updates to commit; skipping PR creation."
exit 0
fi

git commit -m "docs: update CHANGELOG.md for $LATEST_TAG"
git push --set-upstream origin "$CHANGELOG_BRANCH"

if [[ -z "${BASE_BRANCH}" ]]; then
BASE_BRANCH="develop"
fi

EXISTING_PR_COUNT="$(gh pr list --head "$CHANGELOG_BRANCH" --base "$BASE_BRANCH" --json number --jq 'length')"
if [[ "$EXISTING_PR_COUNT" -eq 0 ]]; then
gh pr create \
--title "chore: update changelog for $LATEST_TAG" \
--body "This PR updates the changelog for release $LATEST_TAG." \
--base "$BASE_BRANCH" \
--head "$CHANGELOG_BRANCH"
else
echo "A changelog PR for $CHANGELOG_BRANCH already exists."
fi
22 changes: 0 additions & 22 deletions .github/workflows/publish.yml

This file was deleted.

149 changes: 149 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,149 @@
# SPDX-FileCopyrightText: 2024 Stichting Health-RI
# SPDX-FileContributor: 2024 PNED G.I.E.
#
# SPDX-License-Identifier: Apache-2.0

name: Create Release

permissions:
contents: write
pull-requests: write

on:
workflow_dispatch:
inputs:
version:
description: Version increment
type: choice
options:
- major
- minor
- patch
required: true
default: patch

env:
DOCKER_IMAGE: healthri/fdp-client

jobs:
versioning:
name: Create Version Tag
runs-on: ubuntu-latest
outputs:
new_tag: ${{ steps.tagging.outputs.new_tag }}
steps:
- name: Checkout Repository
uses: actions/checkout@v6
with:
fetch-depth: 0

- name: Set Git User Identity
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"

- name: Fetch Latest Tag and Increment Version
id: tagging
shell: bash
run: |
LATEST_TAG=$(git tag --sort=-creatordate | head -n 1)
if [[ -z "$LATEST_TAG" ]]; then
LATEST_TAG="v0.0.0"
fi
echo "Latest tag: $LATEST_TAG"

# Extract Major, Minor, Patch
IFS='.' read -r MAJOR MINOR PATCH <<<"${LATEST_TAG#v}"
INCREMENT=${{ github.event.inputs.version }}
echo "Updating $INCREMENT version"

case "$INCREMENT" in
major) MAJOR=$((MAJOR + 1)); MINOR=0; PATCH=0 ;;
minor) MINOR=$((MINOR + 1)); PATCH=0 ;;
patch|*) PATCH=$((PATCH + 1)) ;;
esac

NEW_TAG="v$MAJOR.$MINOR.$PATCH"
echo "Pushing this tag: $NEW_TAG"

git tag -a "$NEW_TAG" -m "Release $NEW_TAG"
git push origin "$NEW_TAG"

echo "New tag pushed: $NEW_TAG"
echo "new_tag=$NEW_TAG" >> "$GITHUB_OUTPUT"

publish-release:
name: Publish GitHub Release
runs-on: ubuntu-latest
needs: versioning
steps:
- name: Checkout Repository
uses: actions/checkout@v6
with:
fetch-depth: 0

- name: Generate and Publish GitHub Release
shell: bash
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
LATEST_TAG="${{ needs.versioning.outputs.new_tag }}"
PREVIOUS_TAG=$(git tag --sort=-creatordate | sed -n '2p')

echo "Creating GitHub release for $LATEST_TAG from previous release $PREVIOUS_TAG"

if [[ -n "$PREVIOUS_TAG" ]]; then
gh release create "$LATEST_TAG" \
--title "Release $LATEST_TAG" \
--generate-notes \
--notes-start-tag "$PREVIOUS_TAG"
else
gh release create "$LATEST_TAG" \
--title "Release $LATEST_TAG" \
--generate-notes
fi

call-generate-changelog:
name: Generate Changelog PR
needs: [versioning, publish-release]
uses: ./.github/workflows/generate_changelog.yml
secrets: inherit
with:
tag: ${{ needs.versioning.outputs.new_tag }}

docker-release:
name: Build and Push Docker Image
runs-on: ubuntu-latest
needs: [versioning, publish-release, call-generate-changelog]
steps:
- name: Checkout Repository
uses: actions/checkout@v6

- name: Prepare Docker tags
id: docker_meta
run: |
VERSION="${{ needs.versioning.outputs.new_tag }}"
VERSION="${VERSION#v}"
echo "version=$VERSION" >> "$GITHUB_OUTPUT"

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: |
${{ env.DOCKER_IMAGE }}:${{ steps.docker_meta.outputs.version }}
${{ env.DOCKER_IMAGE }}:latest
Loading