Skip to content
Merged

2.7.0 #394

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
4b2fc5a
wip vue datatable
axelrindle Apr 12, 2025
83e0159
feat: allow async option loading
axelrindle Apr 14, 2025
52caa31
feat: empty state, responsiveness
axelrindle Apr 14, 2025
3696f26
feat: single date picker
axelrindle Apr 14, 2025
8a2e2c4
refactor: define generic table helpers
axelrindle Apr 14, 2025
0ab1817
chore: ignore error for now
axelrindle Apr 14, 2025
474ffff
update
axelrindle Apr 14, 2025
dfddfaf
update Ort and Gliederung list
axelrindle May 2, 2025
86e70ea
update more tables
axelrindle May 3, 2025
a97d8c9
update person table
axelrindle May 3, 2025
a8abd4c
fix dashboard
axelrindle May 3, 2025
661207c
update account list
axelrindle May 10, 2025
6c27851
fix query key
axelrindle May 10, 2025
6223052
refactor: move filter to the left, pagination below
axelrindle May 10, 2025
fc1245b
Merge branch 'development' of https://github.com/codeanker/brahmsee.d…
axelrindle May 10, 2025
76107c3
add ort detail navigation
axelrindle May 10, 2025
af430cd
chore: update lockfile
axelrindle May 10, 2025
f37ac3a
refactor: update remaining tables
axelrindle Nov 8, 2025
b857b58
refactor: remove console.log
axelrindle Nov 10, 2025
80b377d
feat: implement table ordering
axelrindle Nov 11, 2025
a900977
refactor: split procedures into list and table
axelrindle Nov 11, 2025
207a5de
Merge branch 'development' into experimental/table-rework
axelrindle Nov 11, 2025
51f31ff
fix: small fix ups
axelrindle Nov 21, 2025
eb8c4bf
revert changes to schema
axelrindle Nov 29, 2025
2e86c72
chore(deps): remove @tanstack/vue-virtual
axelrindle Nov 29, 2025
3ef3085
Merge pull request #295 from codeanker/experimental/table-rework
axelrindle Nov 29, 2025
ed36f17
remove datagrid
axelrindle Nov 29, 2025
26fed4c
remove axios
axelrindle Nov 29, 2025
9cbd36d
chore(deps): upgrade vite
axelrindle Nov 29, 2025
2b898e7
chore(deps: reorder catalog
axelrindle Nov 29, 2025
c1a8ad6
chore: upgrade container image to node 22
axelrindle Nov 29, 2025
6960afc
fix: make accessToken nullable
axelrindle Nov 29, 2025
5d204bd
fix: remove promise.all
axelrindle Nov 29, 2025
a4d11ee
chore: start api in development mode
axelrindle Nov 29, 2025
7723fdf
chore(deps): update pnpm to 10.24.0
axelrindle Dec 6, 2025
95cd22d
chore: remove network_mode
axelrindle Dec 6, 2025
2eb5cf5
chore: install vue-devtools
axelrindle Dec 6, 2025
aea8f06
chore(deps): streamline
axelrindle Dec 6, 2025
c82fe31
chore: remove db hostname
axelrindle Dec 6, 2025
b951e38
chore: fix lockfile
axelrindle Dec 6, 2025
51a8f9d
chore: revert trpc version
axelrindle Dec 6, 2025
0205e83
chore(deps): fix lockfile
axelrindle Dec 6, 2025
34966bd
refactor: rename client to prisma
axelrindle Dec 14, 2025
17cae5a
refactor: migrate to hono
axelrindle Dec 23, 2025
54cc826
fix: update lockfile
axelrindle Dec 23, 2025
323249d
chore: ignore local.json
axelrindle Dec 23, 2025
59fe942
refactor: remove complex return type
axelrindle Dec 23, 2025
be70bdc
refactor: migrate custom routes to hono
axelrindle Dec 23, 2025
0a8ed0b
make account creation protected
axelrindle Jan 10, 2026
65dd695
get jwt from search params
axelrindle Jan 10, 2026
4e95def
refactor authentication
axelrindle Jan 11, 2026
cf1b3b5
delete obsolete files
axelrindle Jan 11, 2026
6436e8f
fix photos download
axelrindle Jan 25, 2026
c9dbf70
route must return content
axelrindle Jan 25, 2026
9131d20
fix file handling urls
axelrindle Jan 25, 2026
bfd1ad6
fix position parameter
axelrindle Jan 25, 2026
ea524df
remove extension from file name
axelrindle Jan 25, 2026
3a0c97d
remove photoId ref
axelrindle Jan 25, 2026
4f7bf99
feat: support public oauth flow
axelrindle Jan 26, 2026
69097cd
fix: set activation date on oidc new account
axelrindle Jan 28, 2026
332e122
fix: remove cache middleware
axelrindle Jan 28, 2026
d8391e3
feat: run local keycloak proxy
axelrindle Jan 28, 2026
2bfc989
refactor: remove port forwardings
axelrindle Jan 28, 2026
e5eebfc
chore: update environment variables
axelrindle Feb 1, 2026
dbb1532
fix: treat empty string as undefined
axelrindle Feb 1, 2026
74b8ad7
chore: add keycloak container
axelrindle Feb 1, 2026
1407dc8
chore: add oidc values to chart
axelrindle Feb 1, 2026
8f91982
Merge pull request #386 from codeanker/refactor/replace-koa-with-hono
axelrindle Feb 1, 2026
72fbd9b
chore: streamline dependencies
axelrindle Feb 1, 2026
0542999
feat: display timestamp
axelrindle Feb 1, 2026
02346a1
fix: set authenticated to false if account does not exist
axelrindle Feb 1, 2026
d75830f
chore: remove prod check from seeder
axelrindle Feb 1, 2026
7f7736d
feat: seed hostnames
axelrindle Feb 1, 2026
803cfe9
refactor: use UUIDs as primary keys
axelrindle Feb 1, 2026
f1cc177
Merge pull request #393 from codeanker/refactor/primary-key-uuid
axelrindle Feb 1, 2026
a620bb8
refactor: optimize password reset process
axelrindle Feb 1, 2026
6533637
refactor: change double-click events to single-click for better usabi…
danielswiatek Feb 4, 2026
862fe98
refactor: simplify class binding for Tab component
danielswiatek Feb 4, 2026
168d69c
refactor: update legal links in configuration
danielswiatek Feb 4, 2026
6bd5e0b
add oidc env vars
axelrindle Feb 4, 2026
ab816e8
Merge branch 'development' of https://github.com/codeanker/brahmsee.d…
danielswiatek Feb 4, 2026
559d9cc
bump version to 2.7.0 in package.json
danielswiatek Feb 4, 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
6 changes: 5 additions & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:22-bullseye

RUN apt-get update && \
apt-get install -y \
socat

# pnpm
ENV PNPM_HOME=/workspaces/pnpm
ENV PATH="$PNPM_HOME:$PATH"
RUN su node -c "npm install -g pnpm@9.15.2"
RUN su node -c "npm install -g pnpm@10.24.0"
RUN corepack enable

ENV TZ=Europe/Berlin
Expand Down
6 changes: 0 additions & 6 deletions .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,3 @@ services:

# Overrides default command so things don't shut down after the process ends.
command: sleep infinity

# Runs app on the same network as the database container, allows "forwardPorts" in devcontainer.json function.
network_mode: service:postgres

# Use "forwardPorts" in **devcontainer.json** to forward an app port locally.
# (Adding the "ports" property to this file will not forward from a Codespace.)
25 changes: 21 additions & 4 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
"options": {
"statusbar": {
"hide": true
},
"env": {
"NODE_ENV": "development"
}
}
},
Expand Down Expand Up @@ -86,20 +89,34 @@
}
}
},
{
"type": "shell",
"command": "socat TCP-LISTEN:6060,fork TCP:keycloak:6060",
"label": "proxy:keycloak",
"problemMatcher": [],
"presentation": {
"reveal": "silent"
},
"options": {
"statusbar": {
"hide": true
}
}
},
{
"label": "start:apps",
"dependsOn": [
"start:api",
"start:frontend"
"start:frontend",
"proxy:keycloak"
],
"problemMatcher": []
},
{
"label": "start:apps and services",
"dependsOn": [
"start:api",
"start:frontend",
"start:services"
"start:apps",
"start:services",
],
"problemMatcher": [],
"options": {
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18.14.2-alpine3.16 AS workspace-base
FROM node:22.20.0-alpine3.22 AS workspace-base

RUN apk add --no-cache bash curl jq

Expand Down
1 change: 1 addition & 0 deletions apps/api/config/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
local.json
22 changes: 17 additions & 5 deletions apps/api/config/custom-environment-variables.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,38 @@
{
"clientUrl": "CLIENT_URL",

"server": {
"host": "SERVER_HOST",
"port": "SERVER_PORT"
},

"loggingLevel": "LOGGING_LEVEL",

"clientUrl": "CLIENT_URL",

"db": {
"url": "DATABASE_URL"
},

"authentication": {
"secret": "AUTHENTICATION_SECRET"
"secret": "AUTHENTICATION_SECRET",
"expiresIn": "AUTHENTICATION_EXPIRES_IN",
"dlrg": {
"issuer": "AUTHENTICATION_DLRG_ISSUER",
"clientId": "AUTHENTICATION_DLRG_CLIENTID",
"clientSecret": "AUTHENTICATION_DLRG_CLIENTSECRET",
"allowInsecure": "AUTHENTICATION_DLRG_ALLOWINSECURE"
}
},

"mail": {
"sendMails": "MAIL_SENDMAILS",
"sendgridApiKey": "MAIL_SENDGRID_APIKEY"
},

"loggingLevel": "LOGGING_LEVEL",

"meilisearch": {
"host": "MEILISEARCH_HOST",
"apiKey": "MEILISEARCH_KEY"
},

"fileDefaultProvider": "FILE_DEFAULT_PROVIDER",
"fileProviders": {
"LOCAL": {
Expand All @@ -35,9 +45,11 @@
"folder": "FILE_PROVIDER_AZURE_FOLDER"
}
},

"tomtom": {
"apiKey": "TOMTOM_APIKEY"
},

"public": {
"legal": {
"imprint": "PUBLIC_LEGAL_IMPRINT",
Expand Down
6 changes: 3 additions & 3 deletions apps/api/config/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"secret": "secret",
"expiresIn": "1d",
"dlrg": {
"client_id": "1200000-0"
"allowInsecure": false
}
},

Expand Down Expand Up @@ -48,8 +48,8 @@
},
"public": {
"legal": {
"imprint": "https://localhost:8080",
"privacy": "https://localhost:8080"
"imprint": "https://sh.dlrg.de/index.php?id=457933&L=0",
"privacy": "https://sh.dlrg.de/impressum-und-datenschutz/"
}
},

Expand Down
12 changes: 12 additions & 0 deletions apps/api/config/development.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"loggingLevel": "debug",

"authentication": {
"dlrg": {
"issuer": "http://localhost:6060/realms/dlrg",
"clientId": "brahmsee.digital",
"clientSecret": "",
"allowInsecure": true
}
}
}
17 changes: 17 additions & 0 deletions apps/api/email/account-password-reset-oauth.mjml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{{#> layout }}

<mj-text
font-size="16px"
line-height="1.5"
>
Wir haben eine Anfrage erhalten, das Passwort für deinen Account bei <b>{{ hostname }}</b> zurückzusetzen.
</mj-text>

<mj-text
font-size="16px"
line-height="1.5"
>
Dein Account ist mit dem ISC verbunden. Nutze auf der Login-Seite den "DLRG|ISC" Link zum anmelden.
</mj-text>

{{/layout}}
27 changes: 9 additions & 18 deletions apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,55 +27,46 @@
"seed": "tsx prisma/seeders/index.ts"
},
"dependencies": {
"@azure/storage-blob": "^12.17.0",
"@azure/storage-blob": "catalog:",
"@codeanker/authentication": "workspace:*",
"@codeanker/datagrid": "file:../../vendor/codeanker-datagrid-2.7.1-trimmed.tgz",
"@codeanker/helpers": "workspace:*",
"@codeanker/service-sms": "file:../../vendor/codeanker-service-sms-0.0.2.tar.gz",
"@e965/xlsx": "^0.20.3",
"@faker-js/faker": "^9.4.0",
"@koa/cors": "^5.0.0",
"@koa/router": "^12.0.1",
"@faker-js/faker": "catalog:",
"@hono/node-server": "^1.19.6",
"@hono/trpc-server": "^0.4.0",
"@prisma/client": "^5.19.1",
"@prisma/extension-accelerate": "^1.1.0",
"@sendgrid/mail": "^8.1.0",
"@trpc/server": "catalog:",
"archiver": "^7.0.1",
"axios": "^1.9.0",
"config": "^3.3.9",
"dayjs": "^1.11.10",
"dot-prop": "^9.0.0",
"fast-csv": "^5.0.1",
"grant": "^5.4.22",
"handlebars": "^4.7.8",
"hono": "^4.10.7",
"http-errors": "^2.0.1",
"jsonwebtoken": "^9.0.2",
"koa": "^2.16.1",
"koa-body": "^6.0.1",
"koa-helmet": "^7.0.2",
"koa-router": "^13.0.1",
"koa-session": "^6.4.0",
"koa-static": "^5.0.0",
"meilisearch": "^0.37.0",
"mime": "^4.0.6",
"mjml": "^4.15.3",
"oauth4webapi": "^3.8.3",
"prom-client": "^15.0.0",
"superjson": "catalog:",
"trpc-koa-adapter": "^1.1.3",
"uuid": "^11.0.5",
"winston": "^3.11.0",
"zod": "^3.22.4"
"zod": "catalog:"
},
"devDependencies": {
"@codeanker/eslint-config": "workspace:*",
"@codeanker/typescript-config": "workspace:*",
"@inquirer/prompts": "^7.1.0",
"@types/archiver": "^6.0.3",
"@types/config": "^3.3.3",
"@types/http-errors": "^2.0.5",
"@types/http-status-codes": "^1.2.0",
"@types/jsonwebtoken": "^9.0.8",
"@types/koa": "^2.14.0",
"@types/koa-bodyparser": "^4.3.12",
"@types/koa-router": "^7.4.8",
"@types/mjml": "^4.7.4",
"@types/node": "catalog:",
"commander": "^13.0.0",
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

42 changes: 0 additions & 42 deletions apps/api/prisma/migrations/20241118163314_init_file/migration.sql

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading