Commit Graph
21 Commits
Author SHA1 Message Date
lobo 4b821b89df fix(nginx): revalidate index.html and translations on every load
i18n/*.json and index.html keep their names across deploys, so browsers kept old files and showed raw keys like NAV.DASHBOARD. Hashed /assets/ now get a one-year immutable cache.
2026-09-24 09:32:06 +02:00
lobo 95c1f54f62 chore(deps): update React to 19.3, Vite to 8.3, react-router to 7.18 and Tailwind to 4.3
Build, Test & Push Frontend / quality-check (push) Successful in 7s
Build, Test & Push Frontend / docker (push) Successful in 31s
Minor and patch updates only. zod 4, @hookform/resolvers 5 and i18next-http-backend 4 stay out because they are major versions.
2026-09-24 08:57:07 +02:00
lobo 8fa605aff0 feat(nav): add header navigation and show Steam ID on dashboard
Header links to Dashboard, Library and Settings. The logo, the login page and
the landing page lead logged-in users to the dashboard. Expired tokens are
removed, and a 403 on the dashboard logs out. Remove the dev dummy token.
2026-09-24 08:57:03 +02:00
lobo 44e23de6d6 fix(settings): keep Steam ID as string and store the new token
Number("76561198005679788") is 76561198005679790 in JavaScript, so the wrong
Steam ID was saved. The Steam ID now stays a 17-digit string. Theme and
language saves no longer send steamId 0. After a save the new token from Auth
replaces the old one.

Add Vitest and run it in CI.
2026-09-24 08:57:03 +02:00
lobo b34234caa1 Fixed translation stuff
Build, Test & Push Frontend / quality-check (push) Successful in 11s
Build, Test & Push Frontend / docker (push) Successful in 37s
2026-04-18 11:28:48 +02:00
lobo 62203de1a9 changed auth subdomain
Build, Test & Push Frontend / quality-check (push) Successful in 6s
Build, Test & Push Frontend / docker (push) Successful in 20s
2026-04-06 09:46:16 +02:00
lobo 6667b7a347 Added logout button
Build, Test & Push Frontend / quality-check (push) Successful in 6s
Build, Test & Push Frontend / docker (push) Successful in 20s
2026-04-04 10:54:58 +02:00
lobo 9fd438aa66 fixed warning
Build, Test & Push Frontend / quality-check (push) Successful in 6s
Build, Test & Push Frontend / docker (push) Successful in 21s
2026-04-04 10:49:33 +02:00
lobo 6e2a23c3ef Added routing, jwt handling and Dashboard.jsx 2026-04-04 10:49:14 +02:00
lobo af4eb58e35 Merge remote-tracking branch 'origin/main'
Build, Test & Push Frontend / quality-check (push) Successful in 6s
Build, Test & Push Frontend / docker (push) Successful in 22s
2026-03-31 19:44:28 +02:00
lobo eab7a9edcf Call backend now with answer 2026-03-31 19:44:13 +02:00
lobo 18860d3c00 .gitea/workflows/docker-publish.yml aktualisiert
Build, Test & Push Frontend / quality-check (push) Successful in 5s
Build, Test & Push Frontend / docker (push) Successful in 39s
2026-03-28 13:00:28 +01:00
lobo ed4920fc01 .gitea/workflows/docker-publish.yml aktualisiert
Build, Test & Push Frontend / quality-check (push) Successful in 5s
Build, Test & Push Frontend / docker (push) Failing after 9s
2026-03-28 12:57:52 +01:00
lobo 1bb549c4df Update nginx.conf
Build, Test & Push Frontend / quality-check (push) Successful in 6s
Build, Test & Push Frontend / docker (push) Successful in 28s
2026-03-28 12:33:34 +01:00
lobo 2e63b7cfcc README.md aktualisiert
Build, Test & Push Frontend / quality-check (push) Successful in 5s
Build, Test & Push Frontend / docker (push) Successful in 36s
2026-03-28 10:49:50 +01:00
lobo a3c90d4628 Changed wokflow
Build, Test & Push Frontend / quality-check (push) Successful in 9s
Build, Test & Push Frontend / docker (push) Failing after 10s
2026-03-28 10:41:20 +01:00
lobo a8e12ad14c Update LandingPage.jsx 2026-03-28 10:10:46 +01:00
lobo 490fa2fa93 Add Dockerfile, nginx config and publish CI
Add a multi-stage Dockerfile to build the React app (node:24-alpine, npm ci, npm run build) and serve the compiled /app/dist via nginx:alpine. Include nginx.conf that routes unknown paths to /index.html so React Router works in a SPA. Add a CI workflow (.forgejo/workflows/docker-publish.yml) to build and push the Docker image to Codeberg Container Registry on pushes to main (requires CODEBERG_TOKEN repository secret and tags the image as codeberg.org/${{ github.repository }}:latest).
2026-03-28 10:10:09 +01:00
lobo d9c3f40c4a Add pages, update App layout and i18n
Introduce LandingPage, LoginPage and ImprintPage components and replace the previous inline placeholders in App.jsx. Update App layout and header (branding, language toggle, dark mode toggle, route wiring) and use new i18n keys (IMPRINT and LOGIN) in en/de locales. Add client-side validation and UI for the login form. Remove unused assets/icons (public/icons.svg, src/assets/hero.png, vite.svg, vue.svg). Small logging/message tweaks and various Tailwind styling refinements.
2026-03-28 10:02:59 +01:00
lobo c8f1d66cd2 Add i18n, routing and dark-mode support
Introduce internationalization and basic routing: add i18n initialization (src/i18n.js), translation files (public/i18n/en.json, de.json), and wire i18n into the app (import in main.jsx). Update App.jsx to use react-router (BrowserRouter, Routes) and react-i18next (useTranslation), provide simple Landing/Login/Imprint pages, a language toggle and a dark-mode toggle. Add dependencies in package.json (i18next, i18next-http-backend, react-i18next, react-router-dom) and small Tailwind style tweak (custom-variant for dark) in src/style.css.
2026-03-28 09:29:39 +01:00
lobo cf7f136e15 added first default implementation 2026-03-21 10:47:53 +01:00